package com.hoshiicloud.saleorder.param;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 查询订单状态记录参数
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-03
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询订单状态记录", description = "查询订单状态记录")
public class OrderStatusQueryParam extends PageParam {

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "分类   1-下单 2-支付 3-采购 4-出库 5-配送 6-售后")
    private String catalog;

    @ApiModelProperty(value = "状态值")
    private Integer actionCode;

    @ApiModelProperty(value = "状态说明")
    private String actionDesc;

    @ApiModelProperty(value = "发生时间")
    private LocalDateTime actionDatetime;

    @ApiModelProperty(value = "关联ID")
    private Long refId;

    @ApiModelProperty(value = "关联单号  按不同状态关联不同的单号")
    private String refNo;

    @ApiModelProperty(value = "修改人")
    private String updatedBy;
}
